package com.ly.talent.domain;

import com.ly.common.annotation.Excel;
import com.ly.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 学科信息对象 talent_specialty
 * 
 * @author sfli
 * @date 2021-03-02
 */
public class TalentSpecialty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long talentUniversityId;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 学科名称 */
    @Excel(name = "学科名称")
    private String specialtyName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public Long getTalentUniversityId() {
        return talentUniversityId;
    }

    public void setTalentUniversityId(Long talentUniversityId) {
        this.talentUniversityId = talentUniversityId;
    }

    public void setSchoolName(String schoolName)
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setSpecialtyName(String specialtyName) 
    {
        this.specialtyName = specialtyName;
    }

    public String getSpecialtyName() 
    {
        return specialtyName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sysUniversityId", getTalentUniversityId())
            .append("schoolName", getSchoolName())
            .append("specialtyName", getSpecialtyName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
